package com.socialuni.common.model.base.DO;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
@Data
public class CommonUserBaseDO extends CommonContentBaseDO {
    @Column(nullable = false)
    private String nickname;
    @Column(nullable = false)
    private String avatar;
    @Column(nullable = false)
    private String gender;
    @Column(nullable = false)
    private String birthday;
    @Column(nullable = false)
    private Integer age;
    @Column(nullable = false)
    private String city;
    @Column(nullable = false)
    private String type;
}